projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84a115b
)
(elint-check-defcustom-form): Don't use `evenp' so we don't implicitly
author
John Paul Wallington
<jpw@pobox.com>
Mon, 20 Oct 2003 17:16:16 +0000
(17:16 +0000)
committer
John Paul Wallington
<jpw@pobox.com>
Mon, 20 Oct 2003 17:16:16 +0000
(17:16 +0000)
require cl library at runtime.
lisp/emacs-lisp/elint.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/elint.el
b/lisp/emacs-lisp/elint.el
index 75ca3122773c4479dab10a190b4bd9bb9381b275..f0f8add48799ff0afc457180d590e831f2146700 100644
(file)
--- a/
lisp/emacs-lisp/elint.el
+++ b/
lisp/emacs-lisp/elint.el
@@
-540,7
+540,8
@@
CODE can be a lambda expression, a macro, or byte-compiled code."
(defun elint-check-defcustom-form (form env)
"Lint the defcustom FORM in ENV."
(if (and (> (length form) 3)
- (evenp (length form))) ; even no. of keyword/value args
+ ;; even no. of keyword/value args ?
+ (zerop (logand (length form) 1)))
(elint-env-add-global-var (elint-form (nth 2 form) env)
(car (cdr form)))
(elint-error "Malformed variable declaration: %s" form)